package com.wyg.blog.model.user;

/**
 * @description:
 * @author: WYG
 * @time: 2021/1/29 21:54
 */

public class AuthorInformation {
    private Integer id;
    private String avatar;
    private String nickname;
    private String motto;
    private String text_content;
    private String content;
    private String background;

    public AuthorInformation() {}

    public AuthorInformation(Integer id, String avatar, String nickname, String motto, String text_content, String content,
                             String background) {
        this.id = id;
        this.avatar = avatar;
        this.nickname = nickname;
        this.motto = motto;
        this.text_content = text_content;
        this.content = content;
        this.background = background;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getText_content() {
        return text_content;
    }

    public void setText_content(String text_content) {
        this.text_content = text_content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    @Override
    public String toString() {
        return "AuthorInformation{" +
                "id=" + id +
                ", avatar='" + avatar + '\'' +
                ", nickname='" + nickname + '\'' +
                ", motto='" + motto + '\'' +
                ", text_content='" + text_content + '\'' +
                ", content='" + content + '\'' +
                ", background='" + background + '\'' +
                '}';
    }
}
